﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using Microsoft.Xna.Framework.Net;
using Microsoft.Xna.Framework.Storage;
namespace _0712502_0712504_DesignPatternGame
{
    public class MySoundManager
    {
        private Song _songForMainMenu;
        public Song SongForMainMenu
        {
            get { return _songForMainMenu; }
            set { _songForMainMenu = value; }
        }

        private Song _songForOptionsMenu;
        public Song SongForOptionsMenu
        {
            get { return _songForOptionsMenu; }
            set { _songForOptionsMenu = value; }
        }


        private SoundEffect _soundForChangeMenuItem;
        public SoundEffect SoundForChangeMenuItem
        {
            get { return _soundForChangeMenuItem; }
            set { _soundForChangeMenuItem = value; }
        }


        public SoundEffect CanonFire;
        public SoundEffect CrashWall;
        public SoundEffect DestBrick;
        public MySoundManager(ContentManager content)
        {                        
            /*
            _songForMainMenu = content.Load<Song>(@"Music/MainMenuSong");
            //    _songForOptionsMenu = content.Load<Song>(@"Music/...");
            _soundForChangeMenuItem = content.Load<SoundEffect>(@"Sound/star");*/
            CanonFire = content.Load<SoundEffect>(@"Sound/CanonFire");
            CrashWall = content.Load<SoundEffect>(@"Sound/CrashWall");
            DestBrick = content.Load<SoundEffect>(@"Sound/DestBrick");
        }
    }
}
